# -*- mode: snippet -*-
# name: Creates a Singleon class
# key: sin
# --
public class ${1:`(file-name-sans-extension (buffer-name))`}$2 {$0
    private static $1 ourInstance = new $1();

    public static $1 getInstance() {
        return ourInstance;
    }

    private $1() {
    }
}